<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="UTF-8"%>
<%@page import="org.apache.naming.java.javaURLContextFactory"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="org.netEase.controller.*"%>
<%@page import="org.netEase.dao.*"%>
<%@page import="org.netEase.dao.impl.*"%>
<%@page import="org.netEase.entity.*"%>
<%@page import="org.netEase.util.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<style type="text/css">
#sda{width:99%;border:solid 1px #DDDDDD;background-color:white;}
#sda tr{line-height:23px}
#sda tr th{background-color:#F5FAFE;border:solid 1px #DDDDDD;}
#sda tr td{border:solid 1px #DDDDDD;}
</style>
<title>Insert title here</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 产品管理 <span class="c-gray en">&gt;</span> 品牌管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<div class="text-c">
		<form class="Huiform" method="post" action="zhutiadd.shtml" target="_self"enctype="multipart/form-data">
			<input type="text" placeholder="分类名称" value="" name="name" class="input-text" style="width:120px">
			<span class="btn-upload form-group">
			<input class="input-text upload-url" type="text" name="uploadfile-2" id="uploadfile-2" readonly style="width:200px" name="ztImages">
			<a href="javascript:void();" class="btn btn-primary upload-btn"><i class="Hui-iconfont">&#xe642;</i> 上传logo</a>
			<input type="file" multiple name="file-2" class="input-file">
			</span> <button type="submit" class="btn btn-success" id="" name="" onClick="picture_colume_add(this);"><i class="Hui-iconfont">&#xe600;</i> 添加</button>
		</form>
	</div>
	<div class="cl pd-5 bg-1 bk-gray mt-20">  </div>
	<div class="mt-20">
		<table id="sda">
			<thead>
				<tr >
					<th width="70"  style="text-align: center; background-color: #F5FAFE;border: 1px solid #DDD">ID</th>
					<th width="200" style="text-align: center; background-color: #F5FAFE;border: 1px solid #DDD">名称</th>
					<th width="200" style="text-align: center; background-color: #F5FAFE;border: 1px solid #DDD">主题图片</th>
					<th width="100" style="text-align: center; background-color: #F5FAFE;border: 1px solid #DDD">操作</th>
				</tr>
			</thead>
			<c:forEach items="${list}" var="zhuti">
			<tbody>
				<tr >
					<td style="border: 1px solid #DDD">${zhuti.yid }</td>
					<td style="border: 1px solid #DDD">${zhuti.name}</td>
					<td style="border: 1px solid #DDD">	<img src="../images/index/${zhuti.ztImages}"width="200px"></td>
					<td style="border: 1px solid #DDD"><span><a href="dele.shtml?ids=${zhuti.yid}">删除</a></span><span>-</span><span><a href="uadatezhuti.shtml?ids=${zhuti.yid}">修改</a></span></td>
				</tr>
			</tbody>
			</c:forEach>
			
		</table>
	</div>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
$('.table-sort').dataTable({
	"aaSorting": [[ 1, "desc" ]],//默认第几个排序
	"bStateSave": true,//状态保存
	"aoColumnDefs": [
	  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
	  {"orderable":false,"aTargets":[0,6]}// 制定列不参与排序
	]
});
</script>

</body>
</html>